<?php

require_once 'user/User.php';

class UserManager
{
   protected static $instance = NULL;        
   public static function instance()
   {
       if(NULL == self::$instance)
	   {
	         self::$instance = new self();
	   }
	   
	   return self::$instance;
   }
         
   	protected function __construct()
	{
	   
	}
	
	/*
	*TODO
	*/
	public function Login($userId,$password)
	{
	     $user = new LoginUser();
		 $user->ID = $userId;
		 return $user;
	}	
	
}

?>